package com.niit.ai.dl.dltrain.web.model;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

public class ModelListReq {

	@NotNull
	@Min(1)
	private Integer currentPage;

	@NotNull
	@Min(5)
	private Integer pageSize;

	public Integer getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(Integer currentPage) {
		this.currentPage = currentPage;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	@Override
	public String toString() {
		return "QueryListReq [currentPage=" + currentPage + ", pageSize=" + pageSize + "]";
	}

}
